Keycloak REST Services 1.2.0.Final

Path: / admin / realms / {realm} / users / {username} / role-mappings / clients / {clientId} / available

Get available client-level roles that can be mapped to the user

Path parameters:
realm - realm name (not id!)
username -
clientId -

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/users/{username}/role-mappings/clients/{clientId}/availableGet available client-level roles that can be mapped to the user

Method Detail

GET /admin/realms/{realm}/users/{username}/role-mappings/clients/{clientId}/available

Get available client-level roles that can be mapped to the user

HTTP Example:
GET /admin/realms/{realm}/users/{username}/role-mappings/clients/{clientId}/available
API Example:

UserClientRoleMappingsResource.getAvailableClientRoleMappings({'realm': /* name realm name (not id!) */,
  'username': …,
  'clientId': …});

Output:
List<RoleRepresentation> -
Produces:
application/json

Keycloak REST Services 1.2.0.Final